Skip to content

Conversation

@JonasKunz
Copy link
Contributor

Fixes another problem uncovered by randomized test with the exponential histogram math.
This run uncovered that it was possible for the function estimating the midpoint of a bucket to return NaN.

This PR reproduces the problem and fixes this edge case, which for realistic data should however never occur anyway.

@elasticsearchmachine elasticsearchmachine added needs:triage Requires assignment of a team area label external-contributor Pull request authored by a developer outside the Elasticsearch team v9.2.0 labels Aug 28, 2025
@JonasKunz JonasKunz added >test-failure Triaged test failures from CI :StorageEngine/Mapping The storage related side of mappings Team:StorageEngine external-contributor Pull request authored by a developer outside the Elasticsearch team and removed needs:triage Requires assignment of a team area label external-contributor Pull request authored by a developer outside the Elasticsearch team v9.2.0 labels Aug 28, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-storage-engine (Team:StorageEngine)

@elasticsearchmachine elasticsearchmachine added the needs:risk Requires assignment of a risk label (low, medium, blocker) label Aug 28, 2025
@JonasKunz JonasKunz requested a review from kkrik-es August 28, 2025 14:09
@JonasKunz JonasKunz merged commit 4d2d91f into elastic:main Aug 29, 2025
33 checks passed
@JonasKunz JonasKunz deleted the fix-exp-histo-nan branch August 29, 2025 08:55
JeremyDahlgren pushed a commit to JeremyDahlgren/elasticsearch that referenced this pull request Aug 29, 2025
@kkrik-es kkrik-es added >test Issues or PRs that are addressing/adding tests and removed needs:risk Requires assignment of a risk label (low, medium, blocker) >test-failure Triaged test failures from CI external-contributor Pull request authored by a developer outside the Elasticsearch team labels Sep 3, 2025
@gmarouli gmarouli added the >test-failure Triaged test failures from CI label Sep 15, 2025
@gmarouli
Copy link
Contributor

Added >test-failure and made this comments so it will remove this from github stats.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:StorageEngine/Mapping The storage related side of mappings Team:StorageEngine >test Issues or PRs that are addressing/adding tests >test-failure Triaged test failures from CI v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants